package thread;

import entity.Consumer;

public class C_Thread extends Thread{
		private Consumer c;
		public C_Thread(Consumer c){
			super();
			this.c=c;
		}
		public void run(){
			for(int i=0;i<3;i++){
				c.popService();
			}
		}
}
